package com.org.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.org.dao.ILogDao;
import com.org.model.Log;
import com.org.service.ILogService;

@Service
public class LogServiceImpl implements ILogService
{
	@Autowired
	private ILogDao logDao;
	
	public Log getLogById(String primaryKey) {
		return logDao.getLogById(primaryKey);
	}

	public Map<String, Object> getLogLists(Map<String, Object> params) {
		return logDao.getLogLists(params);
	}

	public void insertLog(Log entity) {
		logDao.insertLog(entity);
	}

	public void updateLogById(Log entity) {
		logDao.updateLogById(entity);
	}

	 
}
